from google.appengine.ext import db

class NewPage(db.Model):
    title      = db.StringProperty()
    link       = db.LinkProperty()
    content    = db.TextProperty()
    pubDate    = db.DateTimeProperty()
    creator    = db.StringProperty()
    lasteditor = db.StringProperty()
    comments   = db.LinkProperty()
    checked    = db.BooleanProperty()

class offset(db.Model):
    type       = db.StringProperty()
    offset     = db.IntegerProperty()

class Copyvio(db.Model):
    pgtitle    = db.StringProperty()
    simpdesc   = db.TextProperty()
    fulldesc   = db.TextProperty()